<!-- Page statistics and control buttons area -->
    <div class="statsRow">
        <div class="wrapper statsItems">
        
        	<!-- Stats item -->
            <div class="sItem visitsStats">
            	<h2><a title="" class="value">1000<span>Publishers</span></a></h2>
                <div class="statsDetailed" id="s2">
                    <div class="statsContent">
                        <div class="sElements">
                            <div class="sDisplay"><h4>800</h4><span>active</span></div>
                            <div class="sDisplay"><h4>50</h4><span>blocked</span></div>
                            <div class="sDisplay"><h4>150</h4><span>pending</span></div>
                        </div>
                        <span class="line"></span>
                        <div class="statsUpdate">
                            <span>Next update in:</span>
                            <span>10 hrs 55 min</span>
                            <div class="contentProgress"><div class="barG tipS" id="bar2" title="68%"></div></div>
                        </div>
                        <div class="statsDropBtn"><a href="#" class="button basic"><img src="images/icons/dark/users.png" class="icon" alt="" /><span>View publishers</span></a></div>
                    </div>
                </div>
                <span class="changes">
                    <span class="posBar" values="5,10,15,20,25,30,35,40,45,50"></span>
                    <span class="positive">+0.6%</span>
                </span>
            </div>
			
            <!-- Stats item -->
            <div class="sItem usersStats">
                <h2><a title="" class="value">500<span>Advertisers</span></a></h2>
                <div class="statsDetailed" id="s3">
                    <div class="statsContent">
                        <div class="sElements">
                            <div class="sDisplay"><h4>350</h4><span>active</span></div>
                            <div class="sDisplay"><h4>50</h4><span>blocked</span></div>
                            <div class="sDisplay"><h4>100</h4><span>pending</span></div>
                        </div>
                        <span class="line"></span>
                        <div class="statsUpdate">
                            <span>Next update in:</span>
                            <span>10 hrs 55 min</span>
                            <div class="contentProgress"><div class="barG tipS" id="bar3" title="32%"></div></div>
                        </div>
                        <div class="statsDropBtn"><a href="#" class="button basic"><img src="images/icons/dark/users.png" class="icon" alt="" /><span>View advertisers</span></a></div>
                    </div>
                </div>
                <span class="changes">
                    <span class="zeroBar" values="5,10,15,20,25,30,35,40,45,50"></span>
                    <span class="zero">0.0%</span>
                </span>
            </div>
        </div>
    </div>
	<div class="line"></div>

    <!-- Main content wrapper -->
    <div class="wrapper">
    
        <!-- Dynamic table -->
        <div class="widget">
            <div class="title"><img src="images/icons/dark/full2.png" alt="" class="titleIcon" /><h6>Dynamic table</h6></div>
            <table cellpadding="0" cellspacing="0" border="0" class="display dTable">
            <thead>
            <tr>
            <th>Дата</th>
            <th>Роль</th>
            <th>Логин</th>
            <th>Эл. почта</th>
			<th>Телефон</th>
            <th>Сайт</th>
            <th>IP адрес</th>
            <th>Управление</th>
            </tr>
            </thead>
            <tbody>
            <?php foreach($this->all as $val) { ?>
            <tr class="gradeA">
            <td>15.05.05</td>
            <td><?php echo $val['role']; ?></td>
            <td><?php echo $val['login']; ?></td>
            <td class="center"><?php echo $val['email']; ?></td>
			<td class="center"><?php echo $val['phone']; ?></td>
			<td class="center"><?php echo $val['website']; ?></td>
			<td class="center">95.211.173.130</td>
			<td class="center">email
                            <?php echo '<a href="'.$this->url(array(
                                            'module'     => 'back',
                                            'controller' => 'admin',
                                            'action'     => 'confirmadver',
                                            'id'         => $val['id']
                                         )).'">approve</a>'; ?>
                            <?php echo '<a href="'.$this->url(array(
                                    'module'     => 'back',
                                    'controller' => 'admin',
                                    'action'     => 'deleteadver',
                                    'id'         => $val['id']
                                )).'">delete</a>'; ?>
                        </td>
            </tr>
            <?php } ?>
            
            </tbody>
            </table>  
        </div>
    <a href="#" title="" class="wButton greenwB ml15 m10" style="float:right"><span>manage publishers</span></a>
	<a href="#" title="" class="wButton bluewB m10" style="float:right"><span>manage advertisers</span></a>
	</div>
    